/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package manager;

import dao.StudentDao;
import entity.Student;
import java.util.List;

/**
 *
 * @author daz
 */
public class StudentManager {

    private StudentDao studentDao;

    public void setStudentDao(StudentDao studentDao) {
        this.studentDao = studentDao;
    }

    public StudentDao getStudentDao() {
        return studentDao;
    }

    public List<Student> getListStudents() {
        return this.studentDao.getListStudents();
    }

    public void insertNewStudent(Student s) {
        this.studentDao.insetNewStudent(s);
    }
}
